From 499da5e253e881a4b1614d44b5347d1dd6afe195 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 24 Jul 2008 14:33:28 +0100 Subject: [PATCH] tools: use $(PREFIX) rather than hard-coding /usr Signed-off-by: Jan Beulich --- tools/Makefile | 4 ++-- tools/libaio/src/Makefile | 2 +- tools/xenstat/libxenstat/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 8920ae9a9b..6789ec4003 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -60,8 +60,8 @@ IOEMU_CONFIGURE_CROSS ?= --cross-prefix=$(CROSS_COMPILE) \ endif ioemu/config-host.mak: - cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure --prefix=/usr \ - $(IOEMU_CONFIGURE_CROSS) + cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure \ + --prefix=$(PREFIX) $(IOEMU_CONFIGURE_CROSS) subdir-all-ioemu subdir-install-ioemu: ioemu/config-host.mak diff --git a/tools/libaio/src/Makefile b/tools/libaio/src/Makefile index f926670e67..da981b7178 100644 --- a/tools/libaio/src/Makefile +++ b/tools/libaio/src/Makefile @@ -1,7 +1,7 @@ XEN_ROOT = ../../.. include $(XEN_ROOT)/tools/Rules.mk -prefix=/usr +prefix=$(PREFIX) includedir=$(prefix)/include libdir=$(prefix)/lib diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index f60ec7872e..1177b55ac0 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -15,7 +15,7 @@ XEN_ROOT=../../.. include $(XEN_ROOT)/tools/Rules.mk -prefix=/usr +prefix=$(PREFIX) includedir=$(prefix)/include libdir=$(prefix)/lib -- 2.30.2